package com.qf.entity;

import java.util.Arrays;

/**
 * @author Ypl
 * @version V1.0
 * @Project September-mavens
 * @Package com.qf.entity
 * @Description:
 * @Date 2022/9/26 22:25
 */
@SuppressWarnings("all")
public class User {

    private int id;
    private String name;
    private String gender;
    private double score;
    private String[] arr;

    public User() {
    }

    public User(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public User(int id, String name, String gender, String[] arr) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.arr = arr;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public String[] getArr() {
        return arr;
    }

    public void setArr(String[] arr) {
        this.arr = arr;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", score=" + score +
                ", arr=" + Arrays.toString(arr) +
                '}';
    }
}
